
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>3.3uniapp开发鸿蒙应用 · uniapp/uniapp-x for Harmony教程</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="坚果派">
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-tbfed-pagefooter/footer.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-chapter-fold/chapter-fold.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-back-to-top-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-code/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-pageview-count/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search-plus/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-mind-maps/mindmaps.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-emphasize/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-anchors/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-ace/ace.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-theme-lou/lou.css">
                
            
        

    

    
        
        <link rel="stylesheet" href="../styles/website.css">
        
    

        
    
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="3.uniapp之uts语言.html" />
    
    
    <link rel="prev" href="15.优势.html" />
    

    <style>
    @media only screen and (max-width: 640px) {
        .book-header .hidden-mobile {
            display: none;
        }
    }
    </style>
    <script>
        window["gitbook-plugin-github-buttons"] = {"repo":"ITmxs/gitbook","types":["star","watch","fork"],"size":"small"};
    </script>

    </head>
    <body>
         
<div class="donate-modal modal">
  <div class="modal-header">
    <div>
      <span>
        <img
          id="modal-avatar"
          class="modal-avatar"
          src="http://xkapp-uat.oss-cn-hangzhou.aliyuncs.com/2e7a3f70-80ab-4b50-93ec-a04dfeef949b/avatar-100.png"
        />
      </span>
      <span id="nickname"> breeze </span>
      <p class="modal-close close" onclick="closeDonateModal()">×</p>
    </div>
    <div class="message">
      <div class="tip">
        <i></i>
        <span>随意打赏，但不要超过一顿早餐钱 💕</span>
      </div>
    </div>
  </div>
  <div class="modal-content">
    <div class="modal-pay-way">
      <div id="wxpay" onclick="showDonateImg(0)">
        <input
          type="radio"
          name="pay-way"
          value="wxpay"
          class="zs-type"
          checked="checked"
        />
        <span>
          <img
            id="wxpay-logo"
            src=""
          />
        </span>
      </div>
      <div id="alipay" onclick="showDonateImg(1)">
        <input type="radio" name="pay-way" value="alipay" class="zs-type" />
        <span>
          <img
            id="alipay-logo"
            src=""
          />
        </span>
      </div>
    </div>
    <div class="modal-pay-qrcode">
      <img id="wxpay-code" src="https://luckly007.oss-cn-beijing.aliyuncs.com/img/image-20210922202901895.png" />
      <img
        id="alipay-code"
        src="https://luckly007.oss-cn-beijing.aliyuncs.com/img/image-20210922202843746.png"
        hidden
      />
    </div>
  </div>
</div>
<div class="mask"></div>


<div class="book">
  <div class="header-inner">
    <!-- LOGO -->
    <div class="logo"></div>
    <span class="title"></span>

    <!-- Search -->
    
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>


    <!-- Nav -->
    <ul class="header-nav">
      <li>
        <a href="https://www.nutpi.net/" target="_blank">坚果派官网</a>
      </li><li>
        <a href="https://www.arkui.club/" target="_blank">ArkUI实战</a>
      </li><li>
        <a href="https://space.bilibili.com/480883651" target="_blank">元服务开发实践</a>
      </li><li>
        <a href="https://gitcode.com/nutpi" target="_blank">OpenHarmony应用开发</a>
      </li>
    </ul>
  </div>

  <div class="book-summary">
    <div class="book-summary-title">文档目录</div>
     
    <nav role="navigation">


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    1.前言
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../chapter2/1.为什么.html">
            
                <a href="../chapter2/1.为什么.html">
            
                    
                    2.为什么要这个专栏？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" >
            
                <span>
            
                    
                    3.uniapp开发鸿蒙
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="14.背景.md">
            
                <span>
            
                    
                    3.1背景
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="15.优势.html">
            
                <a href="15.优势.html">
            
                    
                    3.2优势
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.3.3" data-path="1.uniapp开发鸿蒙应用.html">
            
                <a href="1.uniapp开发鸿蒙应用.html">
            
                    
                    3.3uniapp开发鸿蒙应用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="3.uniapp之uts语言.html">
            
                <a href="3.uniapp之uts语言.html">
            
                    
                    3.4uniapp之uts语言
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.5" data-path="4.uniapp for Harmony.html">
            
                <a href="4.uniapp for Harmony.html">
            
                    
                    3.5uniapp for Harmony
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.6" data-path="5.uniapp for Harmony FAQ.html">
            
                <a href="5.uniapp for Harmony FAQ.html">
            
                    
                    3.6uniapp for Harmony FAQ
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.7" data-path="2.uniapp2.html">
            
                <a href="2.uniapp2.html">
            
                    
                    3.7uniapp2
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.8" data-path="6.uniappx支持鸿蒙.html">
            
                <a href="6.uniappx支持鸿蒙.html">
            
                    
                    3.8uniappx支持鸿蒙
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.9" data-path="7.uniapp-x支持鸿蒙.html">
            
                <a href="7.uniapp-x支持鸿蒙.html">
            
                    
                    3.9uniapp-x支持鸿蒙
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.10" data-path="8.目前支持鸿蒙手机.html">
            
                <a href="8.目前支持鸿蒙手机.html">
            
                    
                    3.10目前支持鸿蒙手机
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.11" data-path="9.uniapp-x项目开发鸿蒙支持调试啦.html">
            
                <a href="9.uniapp-x项目开发鸿蒙支持调试啦.html">
            
                    
                    3.11uniapp-x项目开发鸿蒙支持调试啦
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.12" data-path="10.uniapp和flutter你会选哪个来开发鸿蒙.html">
            
                <a href="10.uniapp和flutter你会选哪个来开发鸿蒙.html">
            
                    
                    3.12uniapp和flutter你会选哪个来开发鸿蒙
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.13" data-path="11.Flutter与uni-app的深度对比：鸿蒙开发的最佳选择竟是原生开发.md.md">
            
                <span>
            
                    
                    3.13Flutter与uni-app的深度对比：鸿蒙开发的最佳选择竟是原生开发
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.14" data-path="12.uniapp版本更新.html">
            
                <a href="12.uniapp版本更新.html">
            
                    
                    3.14uniapp版本更新
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.15" data-path="13.HBuilderX 4.62 开始，uni-app 支持嵌入鸿蒙原生组件.html">
            
                <a href="13.HBuilderX 4.62 开始，uni-app 支持嵌入鸿蒙原生组件.html">
            
                    
                    3.15HBuilderX 4.62开始，uni-app支持嵌入鸿蒙原生组件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.16" data-path="16.uni-app x 已经完成鸿蒙等主流平台全覆盖.html">
            
                <a href="16.uni-app x 已经完成鸿蒙等主流平台全覆盖.html">
            
                    
                    3.16uni-app x 已经完成鸿蒙等主流平台全覆盖
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.17" data-path="17.uniapp如何进行条件编译到鸿蒙.html">
            
                <a href="17.uniapp如何进行条件编译到鸿蒙.html">
            
                    
                    3.17uniapp如何进行条件编译到鸿蒙
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.18" data-path="18.鸿蒙Next案例分析.html">
            
                <a href="18.鸿蒙Next案例分析.html">
            
                    
                    3.18鸿蒙Next案例分析
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.19" data-path="19.UTS开发鸿蒙插件.md">
            
                <span>
            
                    
                    3.19UTS开发鸿蒙插件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.20" data-path="20.热重载.html">
            
                <a href="20.热重载.html">
            
                    
                    3.20热重载
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.21" data-path="21.调用鸿蒙原生组件.html">
            
                <a href="21.调用鸿蒙原生组件.html">
            
                    
                    3.21调用鸿蒙原生组件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.22" data-path="22.从开发者视角看 uniapp 与 Flutter 的差异.html">
            
                <a href="22.从开发者视角看 uniapp 与 Flutter 的差异.html">
            
                    
                    3.22从开发者视角看 uniapp 与 Flutter 的差异
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.23" data-path="23.uniappforHarmony学习路线.html">
            
                <a href="23.uniappforHarmony学习路线.html">
            
                    
                    3.23uniappforHarmony学习路线
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" >
            
                <span>
            
                    
                    4.随机笑话-实战案例
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../chapter4/1.uni-app_x跨平台实战入门：从0到1开发HarmonyOS_5鸿蒙原生应用.html">
            
                <a href="../chapter4/1.uni-app_x跨平台实战入门：从0到1开发HarmonyOS_5鸿蒙原生应用.html">
            
                    
                    4.1 uni-app x 跨平台实战入门：从 0 到 1 开发 HarmonyOS 5 鸿蒙原生应用
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" >
            
                <span>
            
                    
                    5.二十四节气
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" >
            
                <span>
            
                    
                    5.1二十四节气实战案例
            
                </span>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" >
            
                <span>
            
                    
                    6.UTS插件开发
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="../chapter6/1.UTS开发鸿蒙插件.html">
            
                <a href="../chapter6/1.UTS开发鸿蒙插件.html">
            
                    
                    6.1 UTS开发鸿蒙插件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="../chapter6/2.开发uts插件.html">
            
                <a href="../chapter6/2.开发uts插件.html">
            
                    
                    6.2 开发uts插件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="../chapter6/3.新建鸿蒙插件.html">
            
                <a href="../chapter6/3.新建鸿蒙插件.html">
            
                    
                    6.3 新建鸿蒙插件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.4" data-path="../chapter6/4.鸿蒙使用插件.md">
            
                <span>
            
                    
                    6.4 鸿蒙使用插件
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" >
            
                <span>
            
                    
                    7.鸿蒙插件实战
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.1" data-path="../chapter7/1.开发鸿蒙插件.html">
            
                <a href="../chapter7/1.开发鸿蒙插件.html">
            
                    
                    7.1 开发鸿蒙插件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.2" data-path="../chapter7/2.uniappx插件nutpi-idcard 开发与使用指南（适配鸿蒙）.html">
            
                <a href="../chapter7/2.uniappx插件nutpi-idcard 开发与使用指南（适配鸿蒙）.html">
            
                    
                    7.2 uniappx插件nutpi-idcard开发与使用指南
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3" data-path="../chapter7/3.chinese-number-format插件.html">
            
                <a href="../chapter7/3.chinese-number-format插件.html">
            
                    
                    7.3 chinese-number-format插件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.4" data-path="../chapter7/4.calendar插件.html">
            
                <a href="../chapter7/4.calendar插件.html">
            
                    
                    7.4 calendar插件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.5" data-path="../chapter7/5.HBuilderX 中适配鸿蒙插件的安装使用指南.html">
            
                <a href="../chapter7/5.HBuilderX 中适配鸿蒙插件的安装使用指南.html">
            
                    
                    7.5 HBuilderX中适配鸿蒙插件的安装使用指南
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.6" data-path="../chapter7/OpenHarmony5.0跟华为HarmonyOS之间的应用生态兼容情况.html">
            
                <a href="../chapter7/OpenHarmony5.0跟华为HarmonyOS之间的应用生态兼容情况.html">
            
                    
                    7.6 OpenHarmony与HarmonyOS兼容性
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>

</nav>
     
  </div>

  <!-- Content nav -->
  <div class="book-anchor">
    <div class="book-anchor-title"></div>

    <div class="book-anchor-body"></div>
  </div>

  <div class="book-body">
    
    <div class="body-inner">
       

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >3.3uniapp开发鸿蒙应用</a>
    </h1>
</div>



      <div class="page-wrapper" tabindex="-1" role="main">
        <div class="page-inner">
          
<div class="search-plus" id="book-search-results">
    <div class="search-noresults">
    
          <section class="normal markdown-section">
             
                <div id="vip-container">
                    <h2 id="&#x4ECA;&#x5929;&#x5E26;&#x7740;&#x5927;&#x5BB6;&#x4E00;&#x8D77;uni-app-for-harmony"><a name="&#x4ECA;&#x5929;&#x5E26;&#x7740;&#x5927;&#x5BB6;&#x4E00;&#x8D77;uni-app-for-harmony" class="plugin-anchor" href="#&#x4ECA;&#x5929;&#x5E26;&#x7740;&#x5927;&#x5BB6;&#x4E00;&#x8D77;uni-app-for-harmony"><i class="fa fa-link" aria-hidden="true"></i></a>&#x4ECA;&#x5929;&#x5E26;&#x7740;&#x5927;&#x5BB6;&#x4E00;&#x8D77;uni-app for Harmony</h2>
<p><img src="https://luckly007.oss-cn-beijing.aliyuncs.com/uPic/%E9%B8%BF%E8%92%99%E5%9D%9A%E6%9E%9C%E6%B4%BE%20%E5%89%AF%E6%9C%AC.jpg" alt="&#x9E3F;&#x8499;&#x575A;&#x679C;&#x6D3E; &#x526F;&#x672C;"></p>
<h2 id="uni-app"><a name="uni-app" class="plugin-anchor" href="#uni-app"><i class="fa fa-link" aria-hidden="true"></i></a>uni-app</h2>
<p><code>uni-app</code> &#x662F;&#x4E00;&#x4E2A;&#x4F7F;&#x7528; <a href="https://vuejs.org/" target="_blank">Vue.js</a> &#x5F00;&#x53D1;&#x6240;&#x6709;&#x524D;&#x7AEF;&#x5E94;&#x7528;&#x7684;&#x6846;&#x67B6;&#xFF0C;&#x5F00;&#x53D1;&#x8005;&#x7F16;&#x5199;&#x4E00;&#x5957;&#x4EE3;&#x7801;&#xFF0C;&#x53EF;&#x53D1;&#x5E03;&#x5230;HarmonyOS&#x3001;iOS&#x3001;Android&#x3001;Web&#xFF08;&#x54CD;&#x5E94;&#x5F0F;&#xFF09;&#x3001;&#x4EE5;&#x53CA;&#x5404;&#x79CD;&#x5C0F;&#x7A0B;&#x5E8F;&#xFF08;&#x5FAE;&#x4FE1;/&#x652F;&#x4ED8;&#x5B9D;/&#x767E;&#x5EA6;/&#x5934;&#x6761;/&#x98DE;&#x4E66;/QQ/&#x5FEB;&#x624B;/&#x9489;&#x9489;/&#x6DD8;&#x5B9D;&#xFF09;&#x3001;&#x5FEB;&#x5E94;&#x7528;&#x7B49;&#x591A;&#x4E2A;&#x5E73;&#x53F0;&#x3002;</p>
<p><code>uni-app</code>&#x5728;&#x5F00;&#x53D1;&#x8005;&#x6570;&#x91CF;&#x3001;&#x6848;&#x4F8B;&#x3001;&#x8DE8;&#x7AEF;&#x62B9;&#x5E73;&#x5EA6;&#x3001;&#x6269;&#x5C55;&#x7075;&#x6D3B;&#x6027;&#x3001;&#x6027;&#x80FD;&#x4F53;&#x9A8C;&#x3001;&#x5468;&#x8FB9;&#x751F;&#x6001;&#x3001;&#x5B66;&#x4E60;&#x6210;&#x672C;&#x3001;&#x5F00;&#x53D1;&#x6210;&#x672C;&#x7B49;8&#x5927;&#x5173;&#x952E;&#x6307;&#x6807;&#x4E0A;&#x62E5;&#x6709;&#x66F4;&#x5F3A;&#x7684;&#x4F18;&#x52BF;&#x3002;</p>
<h2 id="&#x529F;&#x80FD;&#x6846;&#x67B6;&#x56FE;"><a name="&#x529F;&#x80FD;&#x6846;&#x67B6;&#x56FE;" class="plugin-anchor" href="#&#x529F;&#x80FD;&#x6846;&#x67B6;&#x56FE;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x529F;&#x80FD;&#x6846;&#x67B6;&#x56FE;</h2>
<p><img src="https://luckly007.oss-cn-beijing.aliyuncs.com/uPic/uni-function-diagram-20240523.png" alt="img"></p>
<h2 id="harmonyos"><a name="harmonyos" class="plugin-anchor" href="#harmonyos"><i class="fa fa-link" aria-hidden="true"></i></a>HarmonyOS</h2>
<p>HarmonyOS &#x662F;<strong>&#x65B0;&#x4E00;&#x4EE3;&#x667A;&#x80FD;&#x7EC8;&#x7AEF;&#x64CD;&#x4F5C;&#x7CFB;&#x7EDF;</strong>&#x3002; &#x4E3A;&#x4E0D;&#x540C;&#x8BBE;&#x5907;&#x7684;&#x667A;&#x80FD;&#x5316;&#x3001;&#x4E92;&#x8054;&#x4E0E;&#x534F;&#x540C;&#x63D0;&#x4F9B;&#x4E86;&#x7EDF;&#x4E00;&#x7684;&#x8BED;&#x8A00;&#x3002; &#x8BBE;&#x5907;&#x53EF;&#x5B9E;&#x73B0;&#x4E00;&#x78B0;&#x5165;&#x7F51;&#xFF0C;&#x65E0;&#x5C4F;&#x53D8;&#x6709;&#x5C4F;&#xFF0C;&#x64CD;&#x4F5C;&#x53EF;&#x89C6;&#x5316;&#xFF0C;&#x4E00;&#x952E;&#x76F4;&#x8FBE;&#x539F;&#x5382;&#x670D;&#x52A1;&#x7B49;&#x5168;&#x65B0;&#x529F;&#x80FD;&#x3002; &#x901A;&#x8FC7;&#x7B80;&#x5355;&#x800C;&#x667A;&#x80FD;&#x7684;&#x670D;&#x52A1;&#xFF0C;&#x5B9E;&#x73B0;&#x8BBE;&#x5907;&#x667A;&#x80FD;&#x5316;&#x4EA7;&#x4E1A;&#x5347;&#x7EA7;&#x3002;</p>
<h2 id="uni-app-for-harmony"><a name="uni-app-for-harmony" class="plugin-anchor" href="#uni-app-for-harmony"><i class="fa fa-link" aria-hidden="true"></i></a>uni-app for Harmony</h2>
<p>&#x63A5;&#x4E0B;&#x6765;&#x6211;&#x4EEC;&#x4EE5;Mac&#x7535;&#x8111;&#x4E3A;&#x4F8B;&#xFF0C;&#x5F00;&#x59CB;&#x4ECA;&#x5929;&#x7684;&#x6F14;&#x793A;&#x3002;</p>
<h3 id="&#x5F00;&#x53D1;&#x73AF;&#x5883;&#x8981;&#x6C42;"><a name="&#x5F00;&#x53D1;&#x73AF;&#x5883;&#x8981;&#x6C42;" class="plugin-anchor" href="#&#x5F00;&#x53D1;&#x73AF;&#x5883;&#x8981;&#x6C42;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x5F00;&#x53D1;&#x73AF;&#x5883;&#x8981;&#x6C42;</h3>
<ul>
<li><a href="https://developer.huawei.com/consumer/cn/download/" target="_blank">DevEco Studio 5.0.1 Release</a> </li>
<li>&#x9E3F;&#x8499;&#x7CFB;&#x7EDF;&#x7248;&#x672C; API 12 &#x4EE5;&#x4E0A; &#xFF08;DevEco-Studio&#x6709;&#x5185;&#x7F6E;&#x9E3F;&#x8499;&#x6A21;&#x62DF;&#x5668;&#xFF09;</li>
<li>HBuilderX-4.27+ <a href="https://www.dcloud.io/hbuilderx.html" target="_blank">&#x4E0B;&#x8F7D;&#x5730;&#x5740;</a></li>
</ul>
<p>&#x5927;&#x5BB6;&#x5148;&#x628A;&#x4E0A;&#x9762;&#x4E24;&#x4E2A;&#x5DE5;&#x5177;&#x5B89;&#x88C5;&#x914D;&#x7F6E;&#x597D;&#xFF0C;&#x8FD9;&#x662F;&#x6700;&#x7B80;&#x5355;&#x7684;&#xFF0C;&#x6211;&#x4EEC;&#x4E0D;&#x8FC7;&#x591A;&#x9610;&#x91CA;&#x3002;&#x64CD;&#x4F5C;&#x5B8C;&#x4E0A;&#x9762;&#x7684;&#x6B65;&#x9AA4;&#xFF0C;&#x6211;&#x4EEC;&#x5C31;&#x5F00;&#x59CB;&#x540E;&#x9762;&#x7684;&#x5185;&#x5BB9;&#x3002;</p>
<h2 id="windows&#x7CFB;&#x7EDF;&#x5982;&#x4F7F;&#x7528;&#x6A21;&#x62DF;&#x5668;&#x5219;&#x9700;&#x8981;&#x5F00;&#x542F;&#x4EE5;&#x4E0B;&#x529F;&#x80FD;"><a name="windows&#x7CFB;&#x7EDF;&#x5982;&#x4F7F;&#x7528;&#x6A21;&#x62DF;&#x5668;&#x5219;&#x9700;&#x8981;&#x5F00;&#x542F;&#x4EE5;&#x4E0B;&#x529F;&#x80FD;" class="plugin-anchor" href="#windows&#x7CFB;&#x7EDF;&#x5982;&#x4F7F;&#x7528;&#x6A21;&#x62DF;&#x5668;&#x5219;&#x9700;&#x8981;&#x5F00;&#x542F;&#x4EE5;&#x4E0B;&#x529F;&#x80FD;"><i class="fa fa-link" aria-hidden="true"></i></a>Windows&#x7CFB;&#x7EDF;&#x5982;&#x4F7F;&#x7528;&#x6A21;&#x62DF;&#x5668;&#x5219;&#x9700;&#x8981;&#x5F00;&#x542F;&#x4EE5;&#x4E0B;&#x529F;&#x80FD;</h2>
<p>&#x6253;&#x5F00;&#x63A7;&#x5236;&#x9762;&#x677F; - &#x7A0B;&#x5E8F;&#x4E0E;&#x529F;&#x80FD; - &#x5F00;&#x542F;&#x4EE5;&#x4E0B;&#x529F;&#x80FD;</p>
<ol>
<li>Hyper-V</li>
<li>Windows &#x865A;&#x62DF;&#x673A;&#x76D1;&#x63A7;&#x7A0B;&#x5E8F;&#x5E73;&#x53F0;</li>
<li>&#x865A;&#x62DF;&#x673A;&#x5E73;&#x53F0;</li>
</ol>
<p>&#x6CE8;&#x610F;: &#x9700;&#x8981;win10&#x4E13;&#x4E1A;&#x7248;&#x6216;win11&#x4E13;&#x4E1A;&#x7248;&#x624D;&#x80FD;&#x5F00;&#x542F;&#x4EE5;&#x4E0A;&#x529F;&#x80FD;&#xFF0C;&#x5BB6;&#x5EAD;&#x7248;&#x9700;&#x5148;&#x5347;&#x7EA7;&#x6210;&#x4E13;&#x4E1A;&#x7248;&#x6216;&#x4F01;&#x4E1A;&#x7248;</p>
<p><img src="https://luckly007.oss-cn-beijing.aliyuncs.com/uPic/1720085210915b1knhu7l3u8.png" alt="img"></p>
<h2 id="&#x542F;&#x52A8;&#x9E3F;&#x8499;&#x6A21;&#x62DF;&#x5668;"><a name="&#x542F;&#x52A8;&#x9E3F;&#x8499;&#x6A21;&#x62DF;&#x5668;" class="plugin-anchor" href="#&#x542F;&#x52A8;&#x9E3F;&#x8499;&#x6A21;&#x62DF;&#x5668;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x542F;&#x52A8;&#x9E3F;&#x8499;&#x6A21;&#x62DF;&#x5668;</h2>
<p><img src="https://luckly007.oss-cn-beijing.aliyuncs.com/uPic/image-20240822123436957.png" alt="image-20240822123436957"></p>
<h2 id="&#x8FDE;&#x63A5;&#x9E3F;&#x8499;&#x771F;&#x673A;"><a name="&#x8FDE;&#x63A5;&#x9E3F;&#x8499;&#x771F;&#x673A;" class="plugin-anchor" href="#&#x8FDE;&#x63A5;&#x9E3F;&#x8499;&#x771F;&#x673A;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x8FDE;&#x63A5;&#x9E3F;&#x8499;&#x771F;&#x673A;</h2>
<p><strong>&#x6CE8;&#x610F;&#xFF1A;&#x771F;&#x673A;&#x9700;&#x8981;&#x9E3F;&#x8499;&#x7CFB;&#x7EDF;&#x7248;&#x672C; API 12 &#x4EE5;&#x4E0A;</strong></p>
<p>&#x6253;&#x5F00;&#x9E3F;&#x8499;&#x624B;&#x673A;&#x5F00;&#x53D1;&#x8005;&#x6A21;&#x5F0F;&#xFF0C;&#x5F00;&#x542F;USB&#x8C03;&#x8BD5;&#xFF0C;&#x901A;&#x8FC7;USB&#x7EBF;&#x8FDE;&#x63A5;&#x7535;&#x8111;&#xFF0C;&#x5728;&#x6B64;&#x5904;&#x9009;&#x62E9;&#x4F60;&#x7684;&#x624B;&#x673A;&#x540D;&#x79F0;&#xFF0C;&#x518D;&#x542F;&#x52A8;&#x9879;&#x76EE;&#x5373;&#x53EF;&#xFF0C;&#x5982;&#x679C;&#x63D0;&#x793A;&#x9700;&#x8981;&#x5148;&#x7B7E;&#x540D;&#xFF0C;&#x5219;&#x8FDB;&#x884C;&#x7B7E;&#x540D;&#x3002;</p>
<h3 id="&#x914D;&#x7F6E;&#x7B7E;&#x540D;"><a name="&#x914D;&#x7F6E;&#x7B7E;&#x540D;" class="plugin-anchor" href="#&#x914D;&#x7F6E;&#x7B7E;&#x540D;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x914D;&#x7F6E;&#x7B7E;&#x540D;</h3>
<p>&#x70B9;&#x51FB; DevEco-Studio &#x4E0A;&#x65B9;&#x83DC;&#x5355; File - Project Structure...</p>
<p><img src="https://luckly007.oss-cn-beijing.aliyuncs.com/uPic/1720087126462d9133uo0hmg.png" alt="img"></p>
<p>&#x5728;&#x5F39;&#x51FA;&#x7684;&#x7A97;&#x4F53;&#x4E2D;&#x9009;&#x62E9; Project - Signing Configs &#x5E76;&#x6253;&#x94A9; Automatically generate signature&#xFF0C;&#x5373;&#x53EF;&#x81EA;&#x52A8;&#x751F;&#x6210;&#x7B7E;&#x540D;</p>
<p><img src="https://luckly007.oss-cn-beijing.aliyuncs.com/uPic/image-20240822084623294.png" alt="image-20240822084623294"></p>
<h3 id="&#x914D;&#x7F6E;-hbuilderx-settingsjson"><a name="&#x914D;&#x7F6E;-hbuilderx-settingsjson" class="plugin-anchor" href="#&#x914D;&#x7F6E;-hbuilderx-settingsjson"><i class="fa fa-link" aria-hidden="true"></i></a>&#x914D;&#x7F6E; HBuilderX settings.json</h3>
<p>&#x6253;&#x5F00;HBuilderX&#xFF0C;&#x70B9;&#x51FB;&#x4E0A;&#x65B9;&#x83DC;&#x5355; - &#x5DE5;&#x5177; - &#x504F;&#x597D;&#x8BBE;&#x7F6E;&#xFF0C;&#x5728;&#x51FA;&#x73B0;&#x7684;&#x5F39;&#x7A97;&#x53F3;&#x4FA7;&#x7A97;&#x4F53;&#x65B0;&#x589E;&#x5982;&#x4E0B;&#x914D;&#x7F6E;&#x3002;</p>
<p><img src="https://luckly007.oss-cn-beijing.aliyuncs.com/uPic/image-20240822123749132.png" alt="image-20240822123749132"></p>
<pre><code>{
&quot;harmony.devTools.path&quot; : &quot;/Applications/DevEco-Studio.app/&quot;
}
</code></pre><p><img src="https://luckly007.oss-cn-beijing.aliyuncs.com/uPic/image-20240822085926652.png" alt="image-20240822085926652"></p>
<p>&#x4E0A;&#x9762;&#x7684;&#x62A5;&#x9519;&#x5C31;&#x7528;&#x4E0B;&#x9762;&#x7684;</p>
<pre><code>{
&quot;harmony.devTools.path&quot; : &quot;/Applications/DevEco-Studio.app/Contents/MacOS/devecostudio&quot;
}
</code></pre><p><img src="https://luckly007.oss-cn-beijing.aliyuncs.com/uPic/image-20240822093219873.png" alt="image-20240822093219873"></p>
<p><img src="https://luckly007.oss-cn-beijing.aliyuncs.com/uPic/image-20240822085956380.png" alt="image-20240822085956380"></p>
<p>&#x63A5;&#x4E0B;&#x6765;&#x5C31;&#x8FDB;&#x5165;&#x6B63;&#x9898;</p>
<h3 id="&#x914D;&#x7F6E;-uni-app-&#x5DE5;&#x7A0B;"><a name="&#x914D;&#x7F6E;-uni-app-&#x5DE5;&#x7A0B;" class="plugin-anchor" href="#&#x914D;&#x7F6E;-uni-app-&#x5DE5;&#x7A0B;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x914D;&#x7F6E; uni-app &#x5DE5;&#x7A0B;</h3>
<p>&#x9009;&#x62E9;&#x65B0;&#x5EFA;&#x9879;&#x76EE;</p>
<p><img src="https://luckly007.oss-cn-beijing.aliyuncs.com/uPic/image-20240822090402153.png" alt="image-20240822090402153"></p>
<p>HBuilderX &#x65B0;&#x5EFA;&#x4E00;&#x4E2A;&#x7A7A;&#x767D;&#x7684; uniapp &#x9879;&#x76EE;&#xFF0C;&#x9009;vue3</p>
<p><img src="https://luckly007.oss-cn-beijing.aliyuncs.com/uPic/image-20241217222553661.png" alt="image-20241217222553661"></p>
<h3 id="&#x7F16;&#x8BD1;-uni-app-&#x5230;&#x9E3F;&#x8499;"><a name="&#x7F16;&#x8BD1;-uni-app-&#x5230;&#x9E3F;&#x8499;" class="plugin-anchor" href="#&#x7F16;&#x8BD1;-uni-app-&#x5230;&#x9E3F;&#x8499;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x7F16;&#x8BD1; uni-app &#x5230;&#x9E3F;&#x8499;</h3>
<p>&#x70B9;&#x51FB; HBuilderX &#x4E0A;&#x65B9;&#x3010;&#x8FD0;&#x884C;&#x3011;&#x83DC;&#x5355;&#xFF0C;&#x8FD0;&#x884C;&#x5230;&#x9E3F;&#x8499; DevEco Studio</p>
<p><img src="https://luckly007.oss-cn-beijing.aliyuncs.com/uPic/image-20241024121058545.png" alt="image-20241024121058545"></p>
<p>&#x5728; DevEco-Studio &#x91CD;&#x65B0;&#x7F16;&#x8BD1;&#x6216;&#x8FD0;&#x884C;</p>
<p>&#x5148;&#x7B49;&#x5F85; HBuilderX &#x7F16;&#x8BD1;&#x5B8C;&#x6210;&#xFF0C;&#x7136;&#x540E;&#x6253;&#x5F00; DevEco-Studio&#xFF0C;&#x70B9;&#x51FB;&#x8FD0;&#x884C;&#xFF0C;&#x4E0B;&#x9762;&#x8FD9;&#x4E2A;&#x62A5;&#x9519;&#x662F;HBuilderX settings.json&#x91CC;&#x7684;&#x8DEF;&#x5F84;&#x6709;&#x95EE;&#x9898;&#xFF0C;&#x8BF7;&#x68C0;&#x67E5;&#x3002;</p>
<p><img src="https://luckly007.oss-cn-beijing.aliyuncs.com/uPic/image-20240822092157536.png" alt="image-20240822092157536"></p>
<p>&#x7136;&#x540E;&#x91CD;&#x65B0;&#x542F;&#x52A8;</p>
<p><img src="https://luckly007.oss-cn-beijing.aliyuncs.com/uPic/image-20240822124233531.png" alt="image-20240822124233531"></p>
<p>&#x3010;&#x9996;&#x6B21;&#x8FD0;&#x884C;&#x3011;&#x6B64;&#x65F6;&#x5982;&#x679C;&#x662F;&#x7B2C;&#x4E00;&#x6B21;&#x8FD0;&#x884C;&#x672C;&#x9879;&#x76EE;&#x4F1A;&#x5728;&#x9879;&#x76EE;&#x6839;&#x76EE;&#x5F55;&#x4E0B;&#x751F;&#x6210;harmony-configs&#x76EE;&#x5F55;&#x7528;&#x4E8E;&#x5B58;&#x653E;&#x9E3F;&#x8499;&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#x3002;</p>
<p><img src="https://luckly007.oss-cn-beijing.aliyuncs.com/uPic/image-20241024121357041.png" alt="image-20241024121357041"></p>
<p>&#x3010;&#x9996;&#x6B21;&#x8FD0;&#x884C;&#x3011;&#x914D;&#x7F6E;&#x7B7E;&#x540D;&#x4FE1;&#x606F;&#x3001;&#x5305;&#x540D;&#x5230;&#x9E3F;&#x8499;&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#x5185;</p>
<p>&#x9879;&#x76EE;&#x7684;&#x6839;&#x76EE;&#x5F55;&#x4E0B;&#x6709;&#x4E00;&#x4E2A; <code>harmony-configs</code> &#x76EE;&#x5F55;&#xFF0C;&#x6BCF;&#x5F53;&#x6267;&#x884C;&#x8DDF;&#x9E3F;&#x8499;&#x76F8;&#x5173;&#x7684;&#x64CD;&#x4F5C;&#x65F6;&#xFF0C;HX &#x90FD;&#x4F1A;&#x68C0;&#x67E5;&#x8FD9;&#x4E2A;&#x76EE;&#x5F55;&#xFF0C;&#x5982;&#x679C;&#x76EE;&#x5F55;&#x4E0D;&#x5B58;&#x5728;&#x5219;&#x4F1A;&#x81EA;&#x52A8;&#x521B;&#x5EFA;&#x3002; &#x65B0;&#x7248;&#x672C;&#xFF08;4.29+&#xFF09;&#x8FD8;&#x4F1A;&#x68C0;&#x67E5;&#x4E0E; HX &#x5F53;&#x524D;&#x7248;&#x672C;&#x7684;&#x5185;&#x7F6E;&#x9E3F;&#x8499;&#x5DE5;&#x7A0B;&#x6A21;&#x677F;&#x662F;&#x5426;&#x5339;&#x914D;&#xFF0C;&#x5982;&#x679C;&#x7248;&#x672C;&#x4E0D;&#x5339;&#x914D;&#xFF08;&#x6BD4;&#x5982; HX &#x5347;&#x7EA7;&#x5230;&#x65B0;&#x7248;&#x672C;&#x65F6;&#xFF09;&#x5219;&#x4F1A;&#x63D0;&#x793A;&#x7528;&#x6237;&#x628A;&#x9700;&#x8981;&#x66F4;&#x65B0;&#x7684;&#x5185;&#x5BB9;&#x5408;&#x5E76;&#x5230;&#x76EE;&#x5F55;&#x4E2D;&#x3002;</p>
<p>&#x6240;&#x6709;&#x5C5E;&#x4E8E;&#x9E3F;&#x8499;&#x5DE5;&#x7A0B;&#x7684;&#x914D;&#x7F6E;&#x8C03;&#x6574;&#xFF0C;&#x90FD;&#x53EF;&#x4EE5;&#x5199;&#x5728; <code>harmony-configs</code> &#x76EE;&#x5F55;&#x4E0B;&#xFF0C;&#x5177;&#x4F53;&#x5185;&#x5BB9;&#x53EF;&#x4EE5;&#x53C2;&#x7167;&#x9E3F;&#x8499;&#x7684;&#x76F8;&#x5173;&#x6587;&#x6863;&#x3002;&#x5176;&#x4E2D;&#x5E38;&#x7528;&#x5185;&#x5BB9;&#x6709;&#xFF1A;</p>
<ul>
<li><p>&#x5E94;&#x7528;&#x5305;&#x540D;</p>
<p>&#x5728; <code>harmony-configs/AppScrope/app.json5</code> &#x4E2D;&#x4FEE;&#x6539; <code>app.bundleName</code></p>
<p>&#x6CE8;&#x610F;&#xFF1A;HX 4.31+ &#x540C;&#x65F6;&#x652F;&#x6301;&#x5728;&#x9879;&#x76EE;&#x7684; <code>manifest.json</code> &#x91CC;&#x9762;&#x4EE5;&#x56FE;&#x5F62;&#x754C;&#x9762;&#x4FEE;&#x6539;&#x9E3F;&#x8499;&#x914D;&#x7F6E;&#xFF08;&#x5305;&#x62EC;&#x5305;&#x540D;&#xFF09;&#xFF0C;&#x5982;&#x679C;&#x5728;&#x90A3;&#x91CC;&#x505A;&#x4E86;&#x8BBE;&#x7F6E;&#xFF0C;&#x5C06;&#x4F18;&#x5148;&#x4E8E; <code>harmony-configs/AppScrope/app.json5</code> &#x91CC;&#x9762;&#x7684; <code>app.bundleName</code>&#x3002;</p>
</li>
<li><p>&#x8FD0;&#x884C;&#x6743;&#x9650;</p>
<p>&#x5728; <code>harmony-configs/entry/src/main/module.json5</code> &#x4E2D;&#x4FEE;&#x6539; <code>module.requestPermissions</code></p>
</li>
<li><p>&#x6570;&#x5B57;&#x7B7E;&#x540D;&#x8BC1;&#x4E66;&#x76F8;&#x5173;&#x4FE1;&#x606F;</p>
<p>&#x5728; <code>harmony-configs/build-profile.json5</code> &#x4E2D;&#x4FEE;&#x6539; <code>app.signingConfigs</code></p>
</li>
</ul>
<h3 id="&#x8BC1;&#x4E66;&#x7B7E;&#x540D;&#x914D;&#x7F6E;&#x6307;&#x5357;"><a name="&#x8BC1;&#x4E66;&#x7B7E;&#x540D;&#x914D;&#x7F6E;&#x6307;&#x5357;" class="plugin-anchor" href="#&#x8BC1;&#x4E66;&#x7B7E;&#x540D;&#x914D;&#x7F6E;&#x6307;&#x5357;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x8BC1;&#x4E66;&#x7B7E;&#x540D;&#x914D;&#x7F6E;&#x6307;&#x5357;</h3>
<p><strong>&#x6CE8;&#x610F;&#xFF1A;&#x914D;&#x7F6E;&#x7B7E;&#x540D;&#x9700;&#x8981;&#x5148;&#x542F;&#x52A8;&#x6A21;&#x62DF;&#x5668;&#x6216;&#x8FDE;&#x63A5;&#x771F;&#x673A;&#x540E;&#x624D;&#x80FD;&#x914D;&#x7F6E;</strong></p>
<p>&#x70B9;&#x51FB; DevEco-Studio &#x4E0A;&#x65B9;&#x83DC;&#x5355; File - Project Structure...</p>
<p><img src="https://luckly007.oss-cn-beijing.aliyuncs.com/uPic/image-20241024122330602.png" alt="image-20241024122330602"></p>
<p><strong>&#x751F;&#x6210;&#x8FD0;&#x884C;&#x8C03;&#x8BD5;&#x8BC1;&#x4E66;&#x548C;&#x7B7E;&#x540D;</strong></p>
<p>&#x5728;&#x5F39;&#x51FA;&#x7684;&#x7A97;&#x4F53;&#x4E2D;&#x9009;&#x62E9; Project - Signing Configs&#xFF0C;&#x5E76;&#x6253;&#x94A9; Automatically generate signature&#xFF0C;&#x5373;&#x53EF;&#x81EA;&#x52A8;&#x751F;&#x6210;&#x7B7E;&#x540D;</p>
<p><img src="https://luckly007.oss-cn-beijing.aliyuncs.com/uPic/image-20241024122533451.png" alt="image-20241024122533451"></p>
<p>&#x4E0D;&#x7BA1;&#x662F;&#x8FD0;&#x884C;&#x8BC1;&#x4E66;&#x8FD8;&#x662F;&#x53D1;&#x5E03;&#x8BC1;&#x4E66;&#xFF0C;&#x751F;&#x6210;&#x7684;&#x7B7E;&#x540D;&#x5728;&#x6587;&#x4EF6; build-profile.json5 &#x5185;</p>
<p><img src="https://luckly007.oss-cn-beijing.aliyuncs.com/uPic/image-20241024122634579.png" alt="image-20241024122634579"></p>
<p>&#x5C06;&#x5B83;&#x590D;&#x5236;&#x5230;&#x4F60;&#x7684; uni-app &#x9879;&#x76EE;&#x6839;&#x76EE;&#x5F55;&#x7684; <code>harmony-configs/build-profile.json5</code> &#x7684; signingConfigs &#x914D;&#x7F6E;&#x4E2D;</p>
<p><img src="https://luckly007.oss-cn-beijing.aliyuncs.com/uPic/image-20241024123459288.png" alt="image-20241024123459288"></p>
<h2 id="&#x5173;&#x4E8E;&#x8C03;&#x8BD5;&#x7528;&#x7684;&#x6570;&#x5B57;&#x7B7E;&#x540D;&#x8BC1;&#x4E66;&#x7684;&#x914D;&#x7F6E;"><a name="&#x5173;&#x4E8E;&#x8C03;&#x8BD5;&#x7528;&#x7684;&#x6570;&#x5B57;&#x7B7E;&#x540D;&#x8BC1;&#x4E66;&#x7684;&#x914D;&#x7F6E;" class="plugin-anchor" href="#&#x5173;&#x4E8E;&#x8C03;&#x8BD5;&#x7528;&#x7684;&#x6570;&#x5B57;&#x7B7E;&#x540D;&#x8BC1;&#x4E66;&#x7684;&#x914D;&#x7F6E;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x5173;&#x4E8E;&#x8C03;&#x8BD5;&#x7528;&#x7684;&#x6570;&#x5B57;&#x7B7E;&#x540D;&#x8BC1;&#x4E66;&#x7684;&#x914D;&#x7F6E;</h2>
<p>&#x53C2;&#x8003; <a href="https://developer.huawei.com/consumer/cn/doc/app/agc-help-add-debugcert-0000001914263178" target="_blank">&#x7533;&#x8BF7;&#x8C03;&#x8BD5;&#x8BC1;&#x4E66;</a></p>
<p>&#x5728;&#x4F7F;&#x7528;&#x6A21;&#x62DF;&#x5668;&#x8FDB;&#x884C;&#x8C03;&#x8BD5;&#x8FD0;&#x884C;&#x7684;&#x65F6;&#x5019;&#xFF0C;&#x4E00;&#x822C;&#x662F;&#x4E0D;&#x9700;&#x8981;&#x505A;&#x6570;&#x5B57;&#x7B7E;&#x540D;&#x7684;&#xFF0C;&#x4F46;&#x5982;&#x679C;&#x662F;&#x7528;&#x771F;&#x673A;&#x8FDB;&#x884C;&#x8C03;&#x8BD5;&#x8FD0;&#x884C;&#xFF0C;&#x6216;&#x8005;&#x4E1A;&#x52A1;&#x4EE3;&#x7801;&#x7528;&#x5230;&#x4E86; ACL &#x6743;&#x9650;&#xFF0C;&#x90A3;&#x4E48;&#x5C31;&#x9700;&#x8981;&#x7533;&#x8BF7;&#x5E76;&#x914D;&#x7F6E;&#x4E00;&#x4E2A;<strong>&#x8C03;&#x8BD5;&#x8BC1;&#x4E66;</strong>&#x7528;&#x4E8E;&#x6570;&#x5B57;&#x7B7E;&#x540D;&#x3002;</p>
<p>&#x6570;&#x5B57;&#x7B7E;&#x540D;&#x8BC1;&#x4E66;&#x9700;&#x8981;&#x914D;&#x7F6E;&#x5230; <code>harmony-configs/build-profile.json5</code> &#x4E2D;&#xFF0C;&#x8FD9;&#x4E2A;&#x6587;&#x4EF6;&#x7B49;&#x540C;&#x4E8E;&#x4E00;&#x4E2A;&#x666E;&#x901A;&#x7684;&#x9E3F;&#x8499;&#x5DE5;&#x7A0B;&#x4E2D;&#x5BF9;&#x5E94;&#x7684;&#x6587;&#x4EF6;&#x3002;</p>
<p>&#x4E3A;&#x4E86;&#x4FBF;&#x4E8E;&#x64CD;&#x4F5C;&#xFF0C;&#x53EF;&#x4EE5;&#x7528; DevEco Studio &#x521B;&#x5EFA;&#x4E00;&#x4E2A;&#x7B80;&#x5355;&#x7684;&#x9E3F;&#x8499;&#x5DE5;&#x7A0B;&#xFF08;&#x6CE8;&#x610F;&#x8BBE;&#x7F6E;&#x597D;&#x6B63;&#x786E;&#x7684;&#x5E94;&#x7528;&#x5305;&#x540D; <code>bundleName</code>&#xFF09;&#xFF0C;&#x5728;&#x91CC;&#x9762;&#x5B8C;&#x6210;&#x7533;&#x8BF7;&#x8BC1;&#x4E66;&#x7684;&#x64CD;&#x4F5C;&#xFF0C; &#x5177;&#x4F53;&#x65B9;&#x6CD5;&#x53EF;&#x53C2;&#x8003; <a href="https://developer.huawei.com/consumer/cn/doc/harmonyos-guides-V5/ide-signing-V5#section18815157237" target="_blank">&#x81EA;&#x52A8;&#x7B7E;&#x540D;</a>&#xFF0C; &#x7136;&#x540E;&#x628A; <code>build-profile.json5</code> &#x6587;&#x4EF6;&#x4E2D; <code>app.signingConfigs</code> &#x7684;&#x5185;&#x5BB9;&#x590D;&#x5236;&#x5230; <code>harmony-configs/build-profile.json5</code> &#x4E2D;&#x3002;</p>
<p>&#x901A;&#x8FC7; DevEco Studio &#x7533;&#x8BF7;&#x5F97;&#x5230;&#x7684;&#x8BC1;&#x4E66;&#xFF0C;&#x7F3A;&#x7701;&#x4F1A;&#x4FDD;&#x5B58;&#x5230;&#x7535;&#x8111;&#x7684;&#x7528;&#x6237;&#x76EE;&#x5F55;&#x4E0B;&#xFF0C;&#x5728; Windows &#x7CFB;&#x7EDF;&#x4E2D;&#x4E00;&#x822C;&#x662F; <code>%USERPROFILE%\.ohos\config</code>&#xFF0C;&#x5728; Mac &#x7CFB;&#x7EDF;&#x4E2D;&#x4E00;&#x822C;&#x662F; <code>~/.ohos/config</code>&#x3002; &#x914D;&#x7F6E;&#x4FE1;&#x606F;&#x4E2D;&#x5305;&#x542B;&#x7684;&#x4E09;&#x4E2A;&#x6587;&#x4EF6;&#x7F3A;&#x7701;&#x90FD;&#x662F;&#x91C7;&#x7528;&#x7EDD;&#x5BF9;&#x8DEF;&#x5F84;&#x6765;&#x8868;&#x793A;&#xFF0C;&#x4E5F;&#x53EF;&#x4EE5;&#x628A;&#x8FD9;&#x4E9B;&#x6587;&#x4EF6;&#x79FB;&#x5230; <code>harmony-configs</code> &#x76EE;&#x5F55;&#x4E0B;&#xFF0C;&#x8FD9;&#x6837;&#x5C31;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;&#x76F8;&#x5BF9;&#x8DEF;&#x5F84;&#x6765;&#x8868;&#x793A;&#xFF0C;&#x76F8;&#x5BF9;&#x4E8E; <code>harmony-configs</code> &#x76EE;&#x5F55;&#x3002; &#x5982;&#x679C;&#x8981;&#x79FB;&#x52A8;&#x8BC1;&#x4E66;&#x6587;&#x4EF6;&#x7684;&#x4F4D;&#x7F6E;&#xFF0C;&#x9700;&#x6CE8;&#x610F;&#x8DDF;&#x8FD9;&#x4E09;&#x4E2A;&#x6587;&#x4EF6;&#x4E00;&#x8D77;&#x7684;&#x8FD8;&#x6709;&#x4E00;&#x4E2A;&#x540D;&#x4E3A; <code>material</code> &#x7684;&#x76EE;&#x5F55;&#xFF0C;&#x4E5F;&#x8981;&#x4E00;&#x8D77;&#x79FB;&#x52A8;&#x3002;</p>
<p><img src="https://luckly007.oss-cn-beijing.aliyuncs.com/uPic/image-20240822124312787.png" alt="image-20240822124312787"></p>
<h3 id="&#x5982;&#x4F55;&#x4FEE;&#x6539;&#x5E94;&#x7528;&#x540D;&#x79F0;&#x3001;&#x56FE;&#x6807;&#x3001;&#x6743;&#x9650;&#x7B49;&#x4FE1;&#x606F;"><a name="&#x5982;&#x4F55;&#x4FEE;&#x6539;&#x5E94;&#x7528;&#x540D;&#x79F0;&#x3001;&#x56FE;&#x6807;&#x3001;&#x6743;&#x9650;&#x7B49;&#x4FE1;&#x606F;" class="plugin-anchor" href="#&#x5982;&#x4F55;&#x4FEE;&#x6539;&#x5E94;&#x7528;&#x540D;&#x79F0;&#x3001;&#x56FE;&#x6807;&#x3001;&#x6743;&#x9650;&#x7B49;&#x4FE1;&#x606F;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x5982;&#x4F55;&#x4FEE;&#x6539;&#x5E94;&#x7528;&#x540D;&#x79F0;&#x3001;&#x56FE;&#x6807;&#x3001;&#x6743;&#x9650;&#x7B49;&#x4FE1;&#x606F;</h3>
<p>&#x53C2;&#x8003;&#x9E3F;&#x8499;&#x5B98;&#x65B9;&#x6587;&#x6863;&#xFF1A;<a href="https://developer.huawei.com/consumer/cn/doc/harmonyos-guides-V5/application-component-configuration-stage-V5" target="_blank">&#x5E94;&#x7528;/&#x7EC4;&#x4EF6;&#x7EA7;&#x914D;&#x7F6E;</a></p>
<h3 id="&#x4F7F;&#x7528;uts&#x8C03;&#x7528;&#x9E3F;&#x8499;&#x539F;&#x751F;api"><a name="&#x4F7F;&#x7528;uts&#x8C03;&#x7528;&#x9E3F;&#x8499;&#x539F;&#x751F;api" class="plugin-anchor" href="#&#x4F7F;&#x7528;uts&#x8C03;&#x7528;&#x9E3F;&#x8499;&#x539F;&#x751F;api"><i class="fa fa-link" aria-hidden="true"></i></a>&#x4F7F;&#x7528;uts&#x8C03;&#x7528;&#x9E3F;&#x8499;&#x539F;&#x751F;API</h3>
<p>uni-app&#x5728;Android&#x548C;iOS&#x5E73;&#x53F0;&#xFF0C;&#x652F;&#x6301;uts&#x63D2;&#x4EF6;&#x548C;App&#x539F;&#x751F;&#x8BED;&#x8A00;&#x63D2;&#x4EF6;&#x3002;&#x76EE;&#x524D;App&#x539F;&#x751F;&#x8BED;&#x8A00;&#x63D2;&#x4EF6;&#x5DF2;&#x7ECF;&#x505C;&#x6B62;&#x7EF4;&#x62A4;&#x3002;uts&#x63D2;&#x4EF6;&#x662F;&#x4E3B;&#x63A8;&#x7684;&#x6269;&#x5C55;&#x65B9;&#x5F0F;&#x3002;</p>
<p>&#x9E3F;&#x8499;&#x7CFB;&#x7EDF;&#x6709;&#x5F88;&#x591A;&#x539F;&#x751F;API&#xFF0C;&#x53EF;&#x4EE5;&#x901A;&#x8FC7;uts&#x63D2;&#x4EF6;&#x65B9;&#x5F0F;&#x63A5;&#x5165;&#xFF0C;&#x88AB;uni-app&#x8C03;&#x7528;&#x3002;&#x5927;&#x5BB6;&#x53EF;&#x4EE5;&#x671F;&#x5F85;&#x4E00;&#x4E0B;&#x540E;&#x9762;&#x7684;&#x5185;&#x5BB9;&#x3002;</p>
<h2 id="&#x53C2;&#x8003;"><a name="&#x53C2;&#x8003;" class="plugin-anchor" href="#&#x53C2;&#x8003;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x53C2;&#x8003;</h2>
<ul>
<li><p><a href="https://uniapp.dcloud.net.cn/" target="_blank">&#x4EC0;&#x4E48;&#x662F;uni-app</a></p>
</li>
<li><p><a href="https://zh.uniapp.dcloud.io/tutorial/harmony/dev.html" target="_blank">&#x5F00;&#x53D1;&#x6307;&#x5BFC;</a></p>
</li>
<li><p><a href="https://doc.dcloud.net.cn/uni-app-x/plugin/uts-plugin.html" target="_blank">uts&#x63D2;&#x4EF6;&#x4ECB;&#x7ECD;</a></p>
</li>
<li><p><a href="https://doc.dcloud.net.cn/uni-app-x/plugin/uts-for-harmony.html" target="_blank">uts&#x63D2;&#x4EF6;&#x9E3F;&#x8499;&#x5F00;&#x53D1;&#x4E13;&#x9898;</a></p>
</li>
<li><p>uni-app&#x5B98;&#x7F51;&#x6587;&#x6863;&#x5DF2;&#x7ECF;&#x652F;&#x6301;&#x8F6C;&#x9E3F;&#x8499;app&#x7684;&#x6307;&#x5BFC;&#xFF1A;<a href="https://uniapp.dcloud.net.cn/tutorial/harmony/dev.html" target="_blank">https://uniapp.dcloud.net.cn/tutorial/harmony/dev.html</a></p>
</li>
</ul>
<h2 id="&#x5173;&#x4E8E;&#x575A;&#x679C;&#x6D3E;"><a name="&#x5173;&#x4E8E;&#x575A;&#x679C;&#x6D3E;" class="plugin-anchor" href="#&#x5173;&#x4E8E;&#x575A;&#x679C;&#x6D3E;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x5173;&#x4E8E;&#x575A;&#x679C;&#x6D3E;</h2>
<p>&#x575A;&#x679C;&#x6D3E;&#x793E;&#x533A;&#x7531;&#x5C0F;&#x6CE2;&#x3001;&#x72FC;&#x54E5;&#x7B49;&#x4EBA;&#x521B;&#x5EFA;&#xFF0C;&#x56E2;&#x961F;&#x62E5;&#x6709;26&#x4E2A;&#x534E;&#x4E3A;HDE&#x4EE5;&#x53CA;2700+HarmonyOS&#x5F00;&#x53D1;&#x8005;&#xFF0C;&#x4EE5;&#x53CA;&#x82E5;&#x5E72;&#x5176;&#x4ED6;&#x9886;&#x57DF;&#x7684;&#x4E09;&#x5341;&#x4F59;&#x4F4D;&#x4E07;&#x7C89;&#x535A;&#x4E3B;/UP&#x4E13;&#x6CE8;&#x4E8E;&#x5206;&#x4EAB;&#x7684;&#x6280;&#x672F;&#x5305;&#x62EC;HarmonyOS/OpenHarmony&#xFF0C;&#x4ED3;&#x9889;&#x3001;ArkUI-X&#xFF0C;&#x5143;&#x670D;&#x52A1;&#xFF0C;&#x670D;&#x52A1;&#x5361;&#x7247;&#xFF0C;AI&#x3001;BlueOS&#x64CD;&#x4F5C;&#x7CFB;&#x7EDF;&#x3001;&#x56E2;&#x961F;&#x6210;&#x5458;&#x805A;&#x96C6;&#x5728;&#x5317;&#x4EAC;&#xFF0C;&#x4E0A;&#x6D77;&#xFF0C;&#x5357;&#x4EAC;&#xFF0C;&#x6DF1;&#x5733;&#xFF0C;&#x5E7F;&#x5DDE;&#xFF0C;&#x82CF;&#x5DDE;&#x3001;&#x957F;&#x6C99;&#x3001;&#x5B81;&#x590F;&#x7B49;&#x5730;&#xFF0C;&#x76EE;&#x524D;&#x81EA;&#x7814;&#x5E94;&#x7528;200&#x6B3E;&#xFF0C;&#x4E09;&#x65B9;&#x5E93;80&#x4E2A;&#xFF0C;&#x9E3F;&#x8499;&#x539F;&#x751F;&#x5E94;&#x7528;&#x8BFE;&#x7A0B;500+&#x3002;&#x6301;&#x7EED;&#x52A9;&#x529B;&#x9E3F;&#x8499;&#x751F;&#x6001;&#x7E41;&#x8363;&#x53D1;&#x5C55;&#x3002;&#x793E;&#x533A;&#x5730;&#x5740;&#xFF1A;<a href="https://www.nutpi.net/" target="_blank">https://www.nutpi.net/</a></p>
<p>&#x52A0;&#x5165;&#x575A;&#x679C;&#x6D3E;&#xFF0C;&#x53EF;&#x4EE5;&#x6DFB;&#x52A0;17752170152&#x3002;</p>
<h2 id="&#x62A5;&#x9519;&#x5904;&#x7406;&#xFF1A;"><a name="&#x62A5;&#x9519;&#x5904;&#x7406;&#xFF1A;" class="plugin-anchor" href="#&#x62A5;&#x9519;&#x5904;&#x7406;&#xFF1A;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x62A5;&#x9519;&#x5904;&#x7406;&#xFF1A;</h2>
<h3 id="&#x62A5;&#x9519;-&#x672A;&#x6B63;&#x786E;&#x914D;&#x7F6E;&#x9E3F;&#x8499;&#x5E94;&#x7528;&#x7684;&#x5305;&#x540D;"><a name="&#x62A5;&#x9519;-&#x672A;&#x6B63;&#x786E;&#x914D;&#x7F6E;&#x9E3F;&#x8499;&#x5E94;&#x7528;&#x7684;&#x5305;&#x540D;" class="plugin-anchor" href="#&#x62A5;&#x9519;-&#x672A;&#x6B63;&#x786E;&#x914D;&#x7F6E;&#x9E3F;&#x8499;&#x5E94;&#x7528;&#x7684;&#x5305;&#x540D;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x62A5;&#x9519; <code>&#x672A;&#x6B63;&#x786E;&#x914D;&#x7F6E;&#x9E3F;&#x8499;&#x5E94;&#x7528;&#x7684;&#x5305;&#x540D;</code></h3>
<p>&#x5E94;&#x8BE5;&#x5728; <code>manifest.json</code> &#x7684;&#x3010;&#x9E3F;&#x8499;&#x914D;&#x7F6E;&#x3011;&#x4E2D;&#x8BBE;&#x7F6E;&#x6B63;&#x786E;&#x7684;&#x5305;&#x540D;&#xFF0C;&#x5177;&#x4F53;&#x8981;&#x6C42;&#x8BF7;&#x53C2;&#x8003; <a href="https://developer.huawei.com/consumer/cn/doc/app/agc-help-createharmonyapp-0000001945392297" target="_blank">&#x914D;&#x7F6E;&#x5E94;&#x7528;&#x5305;&#x540D;</a></p>
<h3 id="&#x62A5;&#x9519;-&#x8FD0;&#x884C;&#x6240;&#x9700;&#x7684;&#x6743;&#x9650;&#x6CA1;&#x6709;&#x7B7E;&#x540D;&#x6388;&#x6743;"><a name="&#x62A5;&#x9519;-&#x8FD0;&#x884C;&#x6240;&#x9700;&#x7684;&#x6743;&#x9650;&#x6CA1;&#x6709;&#x7B7E;&#x540D;&#x6388;&#x6743;" class="plugin-anchor" href="#&#x62A5;&#x9519;-&#x8FD0;&#x884C;&#x6240;&#x9700;&#x7684;&#x6743;&#x9650;&#x6CA1;&#x6709;&#x7B7E;&#x540D;&#x6388;&#x6743;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x62A5;&#x9519; <code>&#x8FD0;&#x884C;&#x6240;&#x9700;&#x7684;&#x6743;&#x9650;&#x6CA1;&#x6709;&#x7B7E;&#x540D;&#x6388;&#x6743;</code></h3>
<p><a href="https://uniapp.dcloud.net.cn/tutorial/run/run-app-harmony.html#permissions-failed" target="_blank">https://uniapp.dcloud.net.cn/tutorial/run/run-app-harmony.html#permissions-failed</a></p>
<p><img src="https://luckly007.oss-cn-beijing.aliyuncs.com/uPic/image-20241024140850551.png" alt="image-20241024140850551"></p>
<h3 id="&#x62A5;&#x9519;-&#x6CA1;&#x6709;&#x7B7E;&#x540D;&#x65E0;&#x6CD5;&#x5B89;&#x88C5;"><a name="&#x62A5;&#x9519;-&#x6CA1;&#x6709;&#x7B7E;&#x540D;&#x65E0;&#x6CD5;&#x5B89;&#x88C5;" class="plugin-anchor" href="#&#x62A5;&#x9519;-&#x6CA1;&#x6709;&#x7B7E;&#x540D;&#x65E0;&#x6CD5;&#x5B89;&#x88C5;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x62A5;&#x9519; <code>&#x6CA1;&#x6709;&#x7B7E;&#x540D;&#x65E0;&#x6CD5;&#x5B89;&#x88C5;</code></h3>
<p>&#x5F53;&#x8FD0;&#x884C;&#x5230;&#x9E3F;&#x8499;&#x65F6;&#xFF0C;&#x5982;&#x679C;&#x9009;&#x62E9;&#x771F;&#x673A;&#x4E3A;&#x8FD0;&#x884C;&#x8BBE;&#x5907;&#xFF0C;&#x5219;&#x5FC5;&#x987B;&#x914D;&#x7F6E;&#x597D;&#x6570;&#x5B57;&#x7B7E;&#x540D;&#x8BC1;&#x4E66;&#xFF0C;&#x5426;&#x5219;&#x65E0;&#x6CD5;&#x5B89;&#x88C5;&#x5230;&#x771F;&#x673A;&#x4E0A;&#x3002;</p>
<p><img src="https://luckly007.oss-cn-beijing.aliyuncs.com/uPic/image-20241217230100149.png" alt="image-20241217230100149"></p>
<p>&#x662F;&#x628A;unpackage/debug&#x91CC;&#x9762;&#x7684;&#x9E3F;&#x8499;&#x6587;&#x4EF6;&#x5939;&#x91CC;&#x9762;&#x7684;&#x6587;&#x4EF6;&#x90FD;&#x590D;&#x5236;&#x5230;harmony-configs&#x6587;&#x4EF6;&#x5939;&#x91CC;&#x9762;&#x5417;</p>
<p>&#x6211;&#x53EA;&#x590D;&#x5236;&#x7684;4&#x4E2A;&#x6587;&#x4EF6;&#xFF1A;AppScope&#x3001;entry&#x3001;build-profile.json5&#x3001;oh-package.json5&#xFF0C;entry&#x4E2D;&#x7684;build&#x6CA1;&#x590D;&#x5236;&#x3002;&#x5982;&#x679C;&#x9700;&#x8981;&#x5176;&#x4ED6;&#x6587;&#x4EF6;&#x4E5F;&#x53EF;&#x4EE5;&#x590D;&#x5236;</p>
<p><img src="https://luckly007.oss-cn-beijing.aliyuncs.com/uPic/1734448542669669b4d27590bc94a3aaf3da8..png" alt="img"></p>
<p>&#x8FD9;&#x4E2A;&#x662F; harmony-configs/build-profile.json5 &#x6587;&#x4EF6;&#x5185;&#x5BB9;&#x4E0E;&#x65B0;&#x7248;&#x672C;&#x7684;&#x9E3F;&#x8499;&#x5DE5;&#x7A0B;&#x6A21;&#x677F;&#x4E0D;&#x5339;&#x914D;&#x5BFC;&#x81F4;&#x7684;&#xFF0C;&#x5220;&#x9664; harmony-configs &#x76EE;&#x5F55;&#x548C; unpackage &#x76EE;&#x5F55;&#xFF0C;&#x7136;&#x540E;&#x91CD;&#x8BD5;&#x3002;</p>
<pre><code>hdc file recv  /data/aiservice/config/config.json config.json


hdc file send  config.json  /data/aiservice/config/config.json
</code></pre><footer class="page-footer"><span class="copyright">powered by Gitbook</span><span class="footer-modification">&#x8BE5;&#x6587;&#x4EF6;&#x4FEE;&#x8BA2;&#x65F6;&#x95F4;&#xFF1A;
2025-06-11 23:23:39
</span></footer>
<script>console.log("plugin-popup....");document.onclick = function(e){ e.target.tagName === "IMG" && window.open(e.target.src,e.target.src)}</script><style>img{cursor:pointer}</style>
                </div>
                <script src="https://my.openwrite.cn/js/readmore.js"></script>
                <script>
                    var enablePlugin = false;
                    var allowDomain = "localhost";
                    if(allowDomain){
                        var currentDomain = location.hostname;
                        if ($.isArray(allowDomain)) {
                            $.each(allowDomain, function(index, item) {
                                if (currentDomain == item) {
                                    enablePlugin = true;
                                    return false;
                                }
                            });
                        }else{
                           if (currentDomain == allowDomain) {
                                enablePlugin = true;
                            }
                        }
                    }else{
                        enablePlugin = true;
                    }
                    
                    if(enablePlugin){
                        var isMobile = navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i);
                        if (!isMobile) {
                            var btw = new BTWPlugin();
                            btw.init({"allowDomain":"localhost","blogId":"27976-1678928361372-483","name":"坚果派","qrcode":"https://luckly007.oss-cn-beijing.aliyuncs.com/images/image-20230316085818226.png","keyword":"鸿蒙坚果","id":"vip-container"});
                        }
                    }
                </script> 
          </section>
          
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>
 
          <div class="book-footer">
            
            <div class="donate">
              <div></div>
              <button class="donate-btn" onclick="showModal()">赞赏</button>
            </div>
             
            <div class="copyright"></div>
            
          </div>
          
        </div>
      </div>
      
    </div>

     
    <a
      href="15.优势.html"
      class="
        navigation navigation-prev
        
      "
      aria-label="Previous page: 3.2优势"
    >
      <i class="fa fa-angle-left"></i>
    </a>
     
    <a
      href="3.uniapp之uts语言.html"
      class="
        navigation navigation-next
        
      "
      aria-label="Next page: 3.4uniapp之uts语言"
    >
      <i class="fa fa-angle-right"></i>
    </a>
      
  </div>
  <script>
    function showModal() {
      document.getElementsByClassName("mask")[0].style.display = "block";
      document.getElementsByClassName("donate-modal")[0].style.display =
        "block";
    }
    // 切换赞赏码
    function showDonateImg(num) {
      let alipay = "";
      let wxpay = ""
      if(num){
        wxpay = "hidden"
      }else{
        alipay = "hidden"
      }
      document.getElementById("wxpay-code").hidden = wxpay;
      document.getElementById("alipay-code").hidden = alipay;
      document.getElementsByName("pay-way")[num].checked = "checked";
    }

    // 关闭赞赏框
    function closeDonateModal() {
      document.getElementsByClassName("mask")[0].style.display = "none";
      document.getElementsByClassName("donate-modal")[0].style.display = "none";
    }

    var gitbook = gitbook || [];
    gitbook.push(function () {
      gitbook.page.hasChanged({"page":{"title":"3.3uniapp开发鸿蒙应用","level":"1.3.3","depth":2,"next":{"title":"3.4uniapp之uts语言","level":"1.3.4","depth":2,"path":"chapter3/3.uniapp之uts语言.md","ref":"./chapter3/3.uniapp之uts语言.md","articles":[]},"previous":{"title":"3.2优势","level":"1.3.2","depth":2,"path":"chapter3/15.优势.md","ref":"./chapter3/15.优势.md","articles":[]},"dir":"ltr"},"config":{"plugins":["github-buttons@2.1.0","edit-link","splitter","tbfed-pagefooter","expandable-chapters","chapter-fold","back-to-top-button","code","pageview-count","popup","search-plus","-lunr","-search","splitter","-sharing","sharing-plus","theme-lou","mind-maps","emphasize","anchors","changyan","readmore","livereload","ace","livereload"],"root":".","styles":{"website":"styles/website.css"},"pluginsConfig":{"tbfed-pagefooter":{"modify_label":"该文件修订时间：","modify_format":"YYYY-MM-DD HH:mm:ss"},"chapter-fold":{},"pluginsConfig":{"expandable-chapters":{}},"emphasize":{},"ace":{},"livereload":{},"splitter":{},"readmore":{"allowDomain":"localhost","blogId":"27976-1678928361372-483","name":"坚果派","qrcode":"https://luckly007.oss-cn-beijing.aliyuncs.com/images/image-20230316085818226.png","keyword":"鸿蒙坚果"},"sharing-plus":{"qq":false,"all":["facebook","google","twitter","instapaper","linkedin","pocket","stumbleupon"],"douban":false,"facebook":true,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":true,"messenger":false,"line":false,"vk":false,"pocket":true,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"popup":{},"code":{"copyButtons":true},"theme-lou":{"hide-elements":[".summary .gitbook-link",".summary .divider"],"color":"#FF4848","book-anchor-title":"本章目录","copyright":{"author":"vx:nut_pie"},"forbidCopy":true,"logo":"assets/avatar.png","book-summary-title":"文章目录","search-placeholder":"输入关键字搜索","copyrightLogo":"assets/copyright.png","favicon":"assets/avatar.png","appleTouchIconPrecomposed152":"assets/avatar.png"},"changyan":{"appid":"cyvHoCPAs","conf":"0440cfc4168ba95d73cfc52dd4d5c60b"},"fontsettings":{"theme":"white","family":"sans","size":2},"mind-maps":{},"highlight":{},"back-to-top-button":{},"pageview-count":{},"github-buttons":{"repo":"ITmxs/gitbook","types":["star","watch","fork"],"size":"small"},"sharing":{"qq":false,"all":["qq","qzone","whatsapp","douban","facebook","google","instapaper","linkedin","messenger","twitter","weibo"],"douban":false,"facebook":false,"weibo":false,"twitter":false,"pocket":false,"google":false,"qzone":false},"edit-link":{"label":"编辑此页","base":"https://github.com/ITmxs/gitbook/edit/master/"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"anchors":{},"expandable-chapters":{},"search-plus":{}},"theme":"default","author":"坚果派","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{"themeLou":{"nav":[{"target":"_blank","url":"https://www.nutpi.net/","name":"坚果派官网"},{"target":"_blank","url":"https://www.arkui.club/","name":"ArkUI实战"},{"target":"_blank","url":"https://space.bilibili.com/480883651","name":"元服务开发实践"},{"target":"_blank","url":"https://gitcode.com/nutpi","name":"OpenHarmony应用开发"}],"footer":{"donate":{"wechat":"https://luckly007.oss-cn-beijing.aliyuncs.com/img/image-20210922202901895.png","message":"随意打赏，但不要超过一顿早餐钱 💕","wxpay":"https://luckly007.oss-cn-beijing.aliyuncs.com/img/image-20210922202901895.png","alipay":"https://luckly007.oss-cn-beijing.aliyuncs.com/img/image-20210922202843746.png","nickname":"breeze","button":"打赏","wechatText":"微信","alipayText":"支付宝","title":"『赠人玫瑰 🌹 手有余香 』","avatar":"http://xkapp-uat.oss-cn-hangzhou.aliyuncs.com/2e7a3f70-80ab-4b50-93ec-a04dfeef949b/avatar-100.png"},"copyright":true}}},"title":"uniapp/uniapp-x for Harmony教程","language":"zh-hans","gitbook":"*","description":"uniapp/uniapp-x for Harmony电子书教程"},"file":{"path":"chapter3/1.uniapp开发鸿蒙应用.md","mtime":"2025-06-11T15:23:39.300Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2025-06-30T01:19:14.211Z"},"basePath":"..","book":{"language":""}});
    });
  </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-github-buttons/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-edit-link/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-chapter-fold/chapter-fold.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-back-to-top-button/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-code/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-pageview-count/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-plus/jquery.mark.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-plus/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing-plus/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-mind-maps/mindmaps.dist.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-changyan/changyan.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-ace/ace/ace.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-ace/ace.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-theme-lou/lou.js"></script>
        
    

    </body>
</html>

